package com.woniuxy.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @TableName doctor_schedule
 */
@TableName(value ="doctor_schedule")
@Data
public class DoctorSchedule implements Serializable {
    private Integer id;

    private Integer doctorId;

    private Integer hospitalId;

    private Integer packageId;

    private Integer departmentId;

    private String scheduleDate;

    private Object timePeriod;

    private Date startTime;

    private Date endTime;

    private Object appointmentType;

    private String businessType;

    private Integer maxPatients;

    private Integer registeredCount;

    private BigDecimal fee;

    private Object status;

    private Date createTime;

    private Date updateTime;

    @TableField(exist = false)

    private String departmentName; // 临时字段，用于存储格式化后的科室名称

    @TableField(exist = false)

    private String doctorName;
    @TableField(exist = false)
    private String hospitalName;
    @TableField(exist = false)
    private String packageName;


    private static final long serialVersionUID = 1L;
}
